<%-- 
    Document   : lookMessage
    Created on : 2017-3-23, 23:06:25
    Author     : DELL
--%>
<%@page import="javafx.scene.control.Alert"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@page import="com.entity.Student"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    
            <%
        Student stu = null;
        stu =(Student)session.getAttribute("student");
        
           
    %>
    
    
    <body>
 
        
        
                <hr>
        <table width="100%" align="center">
            <tr >
                <td>
                    <s:a href="LookMessage.action">查看个人信息</s:a>
                </td>
                                <td>
                    <s:a href="updateMessage.jsp">修改个人信息</s:a>
                </td>
                                <td>
                    <s:a href="CourseGrade.action">课程成绩</s:a>
                </td>
                                <td>
                    <s:a href="updatePassword.jsp">修改密码</s:a>
                </td>
                                <td>
                    <s:a href="../index2.jsp" target="_top" >退出系统</s:a>
                </td>
        
            </tr>
        </table>

        <hr>
        <br>
         <table width="52%" align="center" border="2" cellspacing="0" cellpadd
               ing="0" bgcolor="gray" >


            <tr align="left">
                <td height="30">学号</td>
                
                <td><%=stu.getSno()%> </td>
            </tr>
            <tr align="left">
                <td height="30">用户名</td>
                <td><%=stu.getUserName()%> </td>                
            </tr>
            <tr align="left">
                <td height="30">性别</td>
                <td><%=stu.getSex()%> </td>                
            </tr>
            <tr align="left">
                <td height="30">院系</td>
                <td><%=stu.getDepartment()%> </td>                
            </tr>
            <tr align="left">
                <td height="30">籍贯</td>
                <td><%=stu.getJiguan()%> </td>                
            </tr>            
            <tr align="left">
                <td height="30">学分</td>
                <td><%=stu.getMark()%> </td>                
            </tr>    
            <tr align="left">
                <td height="30">邮件地址</td>
                <td><%=stu.getEmail()%> </td>                
            </tr>
            <tr align="left">
                <td height="30">电话</td>
                <td><%=stu.getTel()%> </td>                
            </tr>
            <tr align="left">
                <td height="30">最大选课数</td>
                <td><%=stu.getMaxClasses()%> </td>                
            </tr>
        </table>
        
        
    </body>
</html>
